<template>
  <div class="home">这是主页</div>
</template>

<script>
import request from "@/utils/request";
export default {
  name: "Home",

  created() {
    // 测试了一下，可删
    request.get("/api/shop/banner").then(data => {
      console.log("data", data);
    });
    request.get("/api/shop/category/list1").then(data => {
      console.log("data", data);
    }).catch(err => {
      console.log("err", err);
    })
  }
};
</script>

<style lang="less" scoped>
</style>
